<template>
  <div class="condition-container">
    <slot></slot>
    <div class="toolbar" v-if="$slots.toolbar">
      <slot name="toolbar"></slot>
    </div>
  </div>
</template>

<script>
/**
 Author: 蒋鑫强
 Time: 2023/6/2
 Description:
 */
export default {
  name: 'Condition'
}
</script>

<style lang="less" scoped>
.condition-container {
  padding: 10px;
  background: #f1f1f1;
}
</style>
